package com.foreknow.demo6;

/**
 * @author shkstart
 * @create 2021-07-27 13:30
 */
public class StudentTest {
    public static void main(String[] args) {
        Student[] students=new Student[20];
        Student s1=new Student("admin","tom");
        s1.setSpwd("123456");
        boolean isRight=s1.login(s1);
        if(isRight){
            System.out.println("登录成功....");
        }else {
            System.out.println("登录失败");
        }



    }
}
